<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="订货明细" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
</head>
<body oncontextmenu="return false" class="sheet" style="text-align:center;">
<div class="sheet-main" style="width:860px;text-align:left;margin:auto;">
  <div class="sheet-top">
    <div class="content">
      <h2>订货明细</h2>
      <p>${mark}</p>
    </div>
  </div>
  <div class="sheet-list">
	<div class="search-business">
		<div class="table-list">
			<table width="100%">
				<tbody>
				<tr>	
					<th width="15%">项目类型</th>
					<th width="15%">内容</th>
					<th width="15%">材质</th>
					<th width="15%">规格</th>
					<th width="18%">制作要求</th>
					<th width="9%">单位</th>
					<th width="9%">数量</th>
					<th width="4%">外协</th>
				</tr>
				<c:forEach var="item" items="${itemList}">
				<tr>
					<td>${item.makeTypeName}</td>
					<td><commonTag:parseEnterToBr source="${item.businessBillItem.finishedContent}" /></td>
					<td>${item.businessBillItem.proName}</td>
					<td>
						<commonTag:parseEnterToBr source="${item.businessBillItem.specification}" />
						<c:if test="${item.businessBillItem.priceType=='AREA' || item.businessBillItem.priceType=='LENGTH'}"> x <commonTag:parseBigDecimal source="${item.businessBillItem.amount}" /></c:if>
					</td>
					<td><commonTag:parseEnterToBr source="${item.businessBillItem.makeRequire}" /></td>
					<td>
						<c:if test="${item.businessBillItem.priceType=='AREA'}">平方米</c:if>
						<c:if test="${item.businessBillItem.priceType=='LENGTH'}">
							<c:if test="${item.businessBillItem.lengType=='M'}">米</c:if><c:if test="${item.businessBillItem.lengType=='CM'}">公分</c:if>
						</c:if>
						<c:if test="${item.businessBillItem.priceType=='AMOUNT'}">${item.businessBillItem.unit}</c:if>
					</td>
					<td>
						<c:if test="${item.businessBillItem.priceType=='AREA' || item.businessBillItem.priceType=='LENGTH'}"><commonTag:parseBigDecimal source="${item.businessBillItem.squareNum}" /></c:if>
						<c:if test="${item.businessBillItem.priceType=='AMOUNT'}"><commonTag:parseBigDecimal source="${item.businessBillItem.amount}" /></c:if>
					</td>
					<td>
						<c:if test="${item.businessBillItem.isCoop=='Y'}"><img src="/images/calendarHook.gif"></c:if>
					</td>
				</tr>
				</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
  </div>
<div class="blank12"></div>	
</div>
</body>
</html>
